package cn.jtfadmin.core.modules.sys.domain.entity;

import cn.jtfadmin.base.data.jpa.domain.entity.BaseEntity;
import cn.jtfadmin.base.lang.common.domain.entity.BuildInAbleEntity;
import cn.jtfadmin.base.lang.enums.BooleanEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统环境变量
 * @author jtf
 * @since 0.0.2
 */
@Entity
@Table(name = "sys_env")
@Getter
@Setter
@ToString(callSuper = true)
public class SysEnvEntity extends BaseEntity {

    /**
     * 变量key
     */
    @Column(name = "key_str", unique = true)
    protected String key;

    /**
     * 变量值
     */
    @Column(name = "value")
    protected String value;

    /**
     * 变量缺省值
     */
    @Column(name = "default_value")
    protected String defaultValue;

    /**
     * 变量描述
     */
    @Column(name = "describe_info")
    protected String describe;

    /**
     * 排序
     */
    @Column(name = "sort")
    protected Integer sort;


}
